package com.eric.demo.validate;

import lombok.Data;

import java.util.Map;

/**
 * @author ZhangGuangyin on 2018/8/20
 */
@Data
public class ValidationResult {

    // 校验结果是否有错
    private boolean             hasErrors;

    // 校验错误信息
    private Map<String, String> errorMsg;
}
